package gjbsh.bangong.ds.dao;

import gjbsh.bangong.ds.model.权限模块;
import gjbsh.bangong.ds.model.权限模块Example;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface 权限模块Mapper {
	
	// 取所有权限_模块及当前用户的模块分配情况
	List<Map<String, Object>> findAllQuanxianMoudle(@Param("leixing") String mmLeixing, @Param("userid") String ppUserId);
	
    long countByExample(权限模块Example example);

    int deleteByExample(权限模块Example example);

    int deleteByPrimaryKey(String 模块id);

    int insert(权限模块 record);

    int insertSelective(权限模块 record);

    List<权限模块> selectByExample(权限模块Example example);

    权限模块 selectByPrimaryKey(String 模块id);

    int updateByExampleSelective(@Param("record") 权限模块 record, @Param("example") 权限模块Example example);

    int updateByExample(@Param("record") 权限模块 record, @Param("example") 权限模块Example example);

    int updateByPrimaryKeySelective(权限模块 record);

    int updateByPrimaryKey(权限模块 record);

}